package user.service;

import user.entity.User;

public class UserService {

	public User login(String name,String password){
		if("test".equals(name)&&"test".equals(password)){
			User user=new User();
			user.id=1;
			user.name=name;
			user.password=password;
			return user;
		}
		return null;
	}
}
